<template>
  <div id="app">
    <router-view />

    <Footer
      v-if="
        $route.path == '/' ||
        $route.path.match('/home') ||
        $route.path.match('/video') ||
        $route.path.match('/minivideo')
      "
    ></Footer>
  </div>
</template>
<script>
//引入Footer的组件
import Footer from "./components/Footer.vue";
export default {
  name: "App",
  components: {
    Footer,
  },
  mounted() {},
};
</script>
<style>
html,
body {
  width: 100%;
  height: 100%;
  background-color: rgb(243, 243, 243);
}

* {
  margin: 0;
  padding: 0;
}
#app {
  width: 100%;
  height: 100%;
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  display: flex;
  flex-direction: column;
}
</style>
